/*-----------------------------------------------------------------------------
 * WDGIoCode.h
 *-----------------------------------------------------------------------------
 * 
 *-----------------------------------------------------------------------------
 * All rights reserved by somma (fixbrain@gmail.com, unsorted@msn.com)
 *-----------------------------------------------------------------------------
 * - 10.11.2010 created
**---------------------------------------------------------------------------*/
#pragma once

#ifndef _NTIFS_INCLUDED_
#include <winioctl.h>
#endif

#define WDGDeviceType	0x0000AA71
#define WDG_IOCODE(_io_code_, _buffer_type_, _access_right_) ((DWORD) CTL_CODE(WDGDeviceType, _io_code_, _buffer_type_, _access_right_))

#define WDG_IO_TEST					WDG_IOCODE(0x0801, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define WDG_START_PROTECTOR			WDG_IOCODE(0x0802, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define WDG_STOP_PROTECTOR			WDG_IOCODE(0x0803, METHOD_BUFFERED, FILE_ANY_ACCESS)

